package com.newblog.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.util.DigestUtils;

import java.io.Serializable;
import java.nio.charset.StandardCharsets;
import java.time.LocalDateTime;

/**
 * Created with Intellij IDEA.
 * Description;
 * UserInfo:TQ02
 * Data:2023-12-07
 * Time:20:14
 * Text：
 */


@Data

public class userinfo implements Serializable {
    private int userid;
    private String username;
    private String password;
    private String photo;
    private String url;
    //局部时间格式化
    @JsonFormat(pattern = "yyy-MM-dd HH:mm",timezone="GMT+8")
    private LocalDateTime createtime;
    private LocalDateTime updatetime;


}
